package com.zhsq.zlc.service.dictionary;


import com.zhsq.zlc.entity.DictionaryEntity;

import java.util.List;
import java.util.Map;

public interface DictionaryService {

	List<DictionaryEntity> list(DictionaryEntity entity) throws Exception;

	DictionaryEntity listByOther(DictionaryEntity entity) throws Exception;

	DictionaryEntity getDictionaryById(DictionaryEntity entity) throws Exception;

	int count(DictionaryEntity entity) throws Exception;

	void add(DictionaryEntity entity) throws Exception;
	
	void edit(DictionaryEntity entity) throws Exception;
	
	void delete(int id) throws Exception;

}
